package com.git.hui.yinshua.biz.rest.models.banner.req;

import com.git.hui.yinshua.api.model.PageReq;
import com.git.hui.yinshua.api.model.banner.BannerLinkEnum;
import lombok.Data;

/**
 * @author YiHui
 * @date 2024/6/17
 */
@Data
public class BannerReq extends PageReq {
    private Integer bannerId;
    private Integer tab;
    private String img;
    private String imgColor;
    private Integer state;
    private String title;
    private String intro;
    /**
     * 跳转类型
     *
     * @see BannerLinkEnum#name()
     */
    private BannerLinkEnum linkType;
    /**
     * 跳转地址
     */
    private String link;

    private Integer sort;
}
